package com.ruoyi.monitor.mapper;

import java.util.List;
import com.ruoyi.monitor.domain.MonitorApprovalRecord;

/**
 * 审批记录Mapper接口
 * 
 * @author cl
 * @date 2025-04-16
 */
public interface MonitorApprovalRecordMapper 
{
    /**
     * 查询审批记录
     * 
     * @param recordId 审批记录主键
     * @return 审批记录
     */
    public MonitorApprovalRecord selectMonitorApprovalRecordByRecordId(Integer recordId);

    /**
     * 查询审批记录列表
     * 
     * @param monitorApprovalRecord 审批记录
     * @return 审批记录集合
     */
    public List<MonitorApprovalRecord> selectMonitorApprovalRecordList(MonitorApprovalRecord monitorApprovalRecord);

    /**
     * 新增审批记录
     * 
     * @param monitorApprovalRecord 审批记录
     * @return 结果
     */
    public int insertMonitorApprovalRecord(MonitorApprovalRecord monitorApprovalRecord);

    /**
     * 修改审批记录
     * 
     * @param monitorApprovalRecord 审批记录
     * @return 结果
     */
    public int updateMonitorApprovalRecord(MonitorApprovalRecord monitorApprovalRecord);

    /**
     * 删除审批记录
     * 
     * @param recordId 审批记录主键
     * @return 结果
     */
    public int deleteMonitorApprovalRecordByRecordId(Integer recordId);

    /**
     * 批量删除审批记录
     * 
     * @param recordIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMonitorApprovalRecordByRecordIds(Integer[] recordIds);
}
